Part Number Hot Search : 
01V9A MC14574P BZT03D11 3DG64 AP9563GK AA107 GCM155R7 ZD27V0
Product Description
Full Text Search
 

To Download MAX1257 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  general description the max1220/MAX1257/max1258 integrate a 12-bit, multichannel, analog-to-digital converter (adc), and a 12- bit, octal, digital-to-analog converter (dac) in a single ic. these devices also include a temperature sensor and configurable general-purpose i/o ports (gpios) with a 25mhz spi-/qspi-/microwire -compatible serial interface. the adc is available in 8 and 16 input-channel versions. the octal dac outputs settle within 2.0? and the adc has a 225ksps conversion rate. all devices include an internal reference (2.5v or 4.096v) for both the adc and dac. programmable ref- erence modes allow the use of an internal reference, an external reference, or a combination of both. features such as an internal ?? accurate temperature sensor, fifo, scan modes, programmable internal or external clock modes, data averaging, and autoshutdown allow users to minimize power consumption and proces- sor requirements. the low glitch energy (4nv s) and low digital feedthrough (0.5nv s) of the integrated octal dacs make these devices ideal for digital control of fast-response closed-loop systems. the devices are guaranteed to operate with a supply volt- age from +2.7v to +3.6v (MAX1257) and from +4.75v to +5.25v (max1220/max1258). these devices consume 2.5ma at 225ksps throughput, only 22? at 1ksps throughput, and under 0.2? in the shutdown mode. the MAX1257/max1258 feature 12 gpios, while the max1220 offers four gpios that can be configured as inputs or outputs. the max1220 is available in a 36-pin tqfn package. the MAX1257/max1258 are available in 48-pin tqfn package. all devices are specified over the -40? to +85? temperature range. applications controls for optical components base-station control loops system supervision and control data-acquisition systems features  12-bit, 225ksps adc analog multiplexer with true-differential track/hold (t/h) 16 single-ended channels or 8 differential channels (unipolar or bipolar) (MAX1257/max1258) eight single-ended channels or four differential channels (unipolar or bipolar) (max1220) excellent accuracy: ?.5 lsb inl, ?.5 lsb dnl  12-bit, octal, 2? settling dac ultra-low glitch energy (4nv?) power-up options from zero scale or full scale excellent accuracy: ?.5 lsb inl  internal reference or external single-ended/ differential reference internal reference voltage 2.5v or 4.096v  internal ?? accurate temperature sensor  on-chip fifo capable of storing 16 adc conversion results and one temperature result  on-chip channel-scan mode and internal data-averaging features  analog single-supply operation +2.7v to +3.6v or +4.75v to +5.25v  digital supply: +2.7v to avdd  25mhz, spi/qspi/microwire serial interface  autoshutdown between conversions  low-power adc 2.5ma at 225ksps 22? at 1ksps 0.2? at shutdown  low-power dac: 1.5ma  evaluation kit available (order max1258evkit) max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ________________________________________________________________ maxim integrated products 1 19-3295; rev 7; 2/12 for pricing, delivery, and ordering information, please contact maxim direct at 1-888-629-4642, or visit maxim? website at www.maxim-ic.com. note: all devices are specified over the -40? to +85? operating range. + denotes a lead(pb)-free/rohs-compliant package. * ep = exposed pad. ** number of resolution bits refers to both dac and adc. evaluation kit available pin configurations appear at end of data sheet. qspi is a trademark of motorola, inc. microwire is a registered trademark of national semiconductor corp. autoshutdown is a trademark of maxim integrated products, inc. ordering information/selector guide part pin-package ref voltage (v) analog supply voltage (v) resolution bits** adc channels dac channels gpios max1220 betx+ 36 thin qfn-ep* 4.096 4.75 to 5.25 12 8 8 4 MAX1257 betm+ 48 thin qfn-ep* 2.5 2.7 to 3.6 12 16 8 12 max1258 betm+ 48 thin qfn-ep* 4.096 4.75 to 5.25 12 16 8 12
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 2 _______________________________________________________________________________________ absolute maximum ratings electrical characteristics (v avdd = v dvdd = 2.7v to 3.6v (MAX1257), external reference v ref = 2.5v (MAX1257), v avdd = 4.75v to 5.25v, v dvdd = 2.7v to v avdd (max1220/max1258), external reference v ref = 4.096v (max1220/max1258), f clk = 3.6mhz (50% duty cycle), t a = -40? to +85?, unless otherwise noted. typical values are at v avdd = v dvdd = 3v (MAX1257), v avdd = v dvdd = 5v (max1220/max1258), t a = +25?. outputs are unloaded, unless otherwise noted.) stresses beyond those listed under ?bsolute maximum ratings?may cause permanent damage to the device. these are stress rating s only, and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of the specificatio ns is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. avdd to agnd ........................................................-0.3v to +6v dgnd to agnd.....................................................-0.3v to +0.3v dvdd to avdd......................................................-3.0v to +0.3v digital inputs to dgnd.............................................-0.3v to +6v digital outputs to dgnd ........................-0.3v to (v dvdd + 0.3v) analog inputs, analog outputs and ref_ to agnd .............................................-0.3v to (v avdd + 0.3v) maximum current into any pin (except agnd, dgnd, avdd, dvdd, and out_)...........................................................50ma maximum current into out_.............................................100ma continuous power dissipation (multilayer board, t a = +70?) 36-pin tqfn (6mm x 6mm) (derate 35.7mw/? above +70?) ......................2857.1mw 48-pin tqfn (7mm x 7mm) (derate 40mw/? above +70?) ............................3200mw operating temperature range ...........................-40? to +85? storage temperature range .............................-60? to +150? junction temperature ......................................................+150? lead temperature (soldering, 10s) .................................+300? soldering temperature ...................................................+260? parameter symbol conditions min typ max units adc dc accuracy (note 1) resolution 12 bits integral nonlinearity inl ?.5 ?.0 lsb differential nonlinearity dnl ?.5 ?.0 lsb offset error ? ?.0 lsb gain error (note 2) ?.1 ?.0 lsb gain temperature coefficient ?.8 ppm/? channel-to-channel offset ?.1 lsb dynamic specifications (10khz sine-wave input, v in = 2.5v p-p (MAX1257), v in = 4.096v p-p (max1220/max1258), 225ksps, f clk = 3.6mhz) signal-to-noise plus distortion sinad 70 db total harmonic distortion (up to the fifth harmonic) thd -76 dbc spurious-free dynamic range sfdr 72 dbc intermodulation distortion imd f in1 = 9.9khz, f in2 = 10.2khz 76 dbc full-linear bandwidth sinad > 70db 100 khz full-power bandwidth -3db point 1 mhz conversion rate (note 3) external reference 0.8 ? power-up time t pu internal reference (note 4) 218 c onver si on cl ock cycl es note: if the package power dissipation is not exceeded, one output at a time may be shorted to avdd, dvdd, agnd, or dgnd indefinitely.
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports _______________________________________________________________________________________ 3 electrical characteristics (continued) (v avdd = v dvdd = 2.7v to 3.6v (MAX1257), external reference v ref = 2.5v (MAX1257), v avdd = 4.75v to 5.25v, v dvdd = 2.7v to v avdd (max1220/max1258), external reference v ref = 4.096v (max1220/max1258), f clk = 3.6mhz (50% duty cycle), t a = -40? to +85?, unless otherwise noted. typical values are at v avdd = v dvdd = 3v (MAX1257), v avdd = v dvdd = 5v (max1220/max1258), t a = +25?. outputs are unloaded, unless otherwise noted.) parameter symbol conditions min typ max units acquisition time t acq (note 5) 0.6 s internally clocked 5.5 conversion time t conv externally clocked 3.6 s external clock frequency f clk externally clocked conversion (note 5) 0.1 3.6 mhz duty cycle 40 60 % aperture delay 30 ns aperture jitter < 50 ps analog inputs unipolar 0 v ref input voltage range (note 6) bipolar -v ref /2 +v ref /2 v input leakage current 0.01 1 a input capacitance 24 pf internal temperature sensor t a = +25c 0.7 measurement error (notes 5, 7) t a = t min to t max 1.0 3.0 c temperature resolution 1/8 c/lsb internal reference MAX1257 2.482 2.50 2.518 ref1 output voltage (note 8) max1220/max1258 4.066 4.096 4.126 v ref1 voltage temperature coefficient tc ref 30 ppm/c ref1 output impedance 6.5 k v ref = 2.5v 0.39 ref1 short-circuit current v ref = 4.096v 0.63 ma external reference ref1 input voltage range v ref1 ref mode 11 (note 4) 1 v avdd + 0.05 v ref mode 01 1 v avdd + 0.05 ref2 input voltage range (note 4) v ref2 ref mode 11 0 1 v
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 4 _______________________________________________________________________________________ electrical characteristics (continued) (v avdd = v dvdd = 2.7v to 3.6v (MAX1257), external reference v ref = 2.5v (MAX1257), v avdd = 4.75v to 5.25v, v dvdd = 2.7v to v avdd (max1220/max1258), external reference v ref = 4.096v (max1220/max1258), f clk = 3.6mhz (50% duty cycle), t a = -40? to +85?, unless otherwise noted. typical values are at v avdd = v dvdd = 3v (MAX1257), v avdd = v dvdd = 5v (max1220/max1258), t a = +25?. outputs are unloaded, unless otherwise noted.) parameter symbol conditions min typ max units v ref = 2.5v (MAX1257), f sample = 25 80 v ref = 4.096v (max1220/max1258), f sample = 225ksps 40 80 ref1 input current (note 9) i ref1 acquisition between conversions 0.01 1 a v ref = 2.5v (MAX1257), f sample = 25 80 v ref = 4.096v (max1220/max1258), f sample = 225ksps 40 80 ref2 input current i ref2 acquisition between conversions 0.01 1 a dac dc accuracy (note 10) resolution 12 bits integral nonlinearity inl 0.5 4 lsb differential nonlinearity dnl guaranteed monotonic 1.0 lsb offset error v os (note 8) 3 10 mv offset-error drift 10 ppm of fs/c gain error ge (note 8) 5 10 lsb gain temperature coefficient 8 ppm of fs/c dac output no load 0.02 v avdd - 0.02 output-voltage range 10k load to either rail 0.1 v avdd - 0.1 v dc output impedance 0.5 capacitive load (note 11) 1 nf v avdd = 2.7v, v ref = 2.5v (MAX1257), gain error < 1% 2000 resistive load to agnd r l v avdd = 4.75v, v ref = 4.096v (max1220/max1258), gain error < 2% 500 from power-down mode, v avdd = 5v 25 wake-up time (note 12) from power-down mode, v avdd = 2.7v 21 s 1k output termination programmed in from power-down mode 1 k 100k output termination at wa ke-up or programmed in power-down mode 100 k
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports _______________________________________________________________________________________ 5 electrical characteristics (continued) (v avdd = v dvdd = 2.7v to 3.6v (MAX1257), external reference v ref = 2.5v (MAX1257), v avdd = 4.75v to 5.25v, v dvdd = 2.7v to v avdd (max1220/max1258), external reference v ref = 4.096v (max1220/max1258), f clk = 3.6mhz (50% duty cycle), t a = -40? to +85?, unless otherwise noted. typical values are at v avdd = v dvdd = 3v (MAX1257), v avdd = v dvdd = 5v (max1220/max1258), t a = +25?. outputs are unloaded, unless otherwise noted.) parameter symbol conditions min typ max units dynamic performance (notes 5, 13) output-voltage slew rate sr positive and negative 3 v/s output-voltage settling time t s to 1 lsb, 400 - c00 hex (note 7) 2 5 s digital feedthrough code 0, all digital inputs from 0 to v dvdd 0.5 nv ? s major code transition glitch impulse between codes 2047 and 2048 4 nv ? s from v ref 660 output noise (0.1hz to 50mhz) using internal reference 720 v p-p from v ref 260 output noise (0.1hz to 500khz) using internal reference 320 v p-p dac-to-dac transition crosstalk 0.5 nv ? s internal reference MAX1257 2.482 2.5 2.518 ref1 output voltage (note 8) max1220/max1258 4.066 4.096 4.126 v ref1 temperature coefficient tc ref 30 ppm/c v ref = 2.5v 0.39 ref1 short-circuit current v ref = 4.096v 0.63 ma external-reference input ref1 input voltage range v ref1 ref modes 01, 10, and 11 (note 4) 0.7 v avdd v ref1 input impedance r ref1 70 100 130 k  digital interface digital inputs (sclk, din, cs , cnvst , ldac ) input-voltage high v ih v dvdd = 2.7v to 5.25v 2.4 v v dvdd = 3.6v to 5.25v 0.8 input-voltage low v il v dvdd = 2.7v to 3.6v 0.6 v input leakage current i l 0.01 10 a input capacitance c in 15 pf digital output (dout) (note 14) output-voltage low v ol i sink = 2ma 0.4 v output-voltage high v oh i source = 2ma v dvdd - 0.5 v three-state leakage current 10 a three-state output capacitance c out 15 pf
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 6 _______________________________________________________________________________________ electrical characteristics (continued) (v avdd = v dvdd = 2.7v to 3.6v (MAX1257), external reference v ref = 2.5v (MAX1257), v avdd = 4.75v to 5.25v, v dvdd = 2.7v to v avdd (max1220/max1258), external reference v ref = 4.096v (max1220/max1258), f clk = 3.6mhz (50% duty cycle), t a = -40? to +85?, unless otherwise noted. typical values are at v avdd = v dvdd = 3v (MAX1257), v avdd = v dvdd = 5v (max1220/max1258), t a = +25?. outputs are unloaded, unless otherwise noted.) parameter symbol conditions min typ max units digital output ( eoc ) (note 14) output-voltage low v ol i sink = 2ma 0.4 v output-voltage high v oh i source = 2ma v dvdd - 0.5 v three-state leakage current 10 a three-state output capacitance c out 15 pf digital outputs (gpio_) (note 14) i sink = 2ma 0.4 gpiob_, gpioc_ output- voltage low i sink = 4ma 0.8 v gpiob_, gpioc_ output- voltage high i source = 2ma v dvdd - 0.5 v gpioa_ output-voltage low i sink = 15ma 0.8 v gpioa_ output-voltage high i source = 15ma v dvdd - 0.8 v three-state leakage current 10 a three-state output capacitance c out 15 pf power requirements (note 15) digital positive-supply voltage dv dd 2.7 v avdd v idle, all blocks shut down 0.2 4 a digital positive-supply current di dd only adc on, external reference 1 ma MAX1257 2.7 3.6 analog positive-supply voltage av dd max1220/max1258 4.75 5.25 v idle, all blocks shut down 0.2 2 a f sample = 225ksps 2.8 4.2 only adc on, external reference f sample = 100ksps 2.6 analog positive-supply current ai dd all dacs on, no load, internal reference 1.5 4 ma MAX1257, v avdd = 2.7v -77 ref1 positive-supply rejection psrr max1220/max1258, v avdd = 4.75v -80 db MAX1257, v avdd = 2.7v to 0.1 0.5 dac positive-supply rejection psrd output code = fffhex max1220/max1258, v avdd = 4.75v to 5.25v 0.1 0.5 mv MAX1257, v avdd = 2.7v to 0.06 0.5 adc positive-supply rejection psra full- scale input max1220/max1258, v avdd = 4.75v to 5.25v 0.06 0.5 mv
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports _______________________________________________________________________________________ 7 electrical characteristics (continued) (v avdd = v dvdd = 2.7v to 3.6v (MAX1257), external reference v ref = 2.5v (MAX1257), v avdd = 4.75v to 5.25v, v dvdd = 2.7v to v avdd (max1220/max1258), external reference v ref = 4.096v (max1220/max1258), f clk = 3.6mhz (50% duty cycle), t a = -40? to +85?, unless otherwise noted. typical values are at v avdd = v dvdd = 3v (MAX1257), v avdd = v dvdd = 5v (max1220/max1258), t a = +25?. outputs are unloaded, unless otherwise noted.) parameter symbol conditions min typ max units timing characteristics (figures 6C13) sclk clock period t cp 40 ns sclk pulse-width high t ch 40/60 duty cycle 16 ns sclk pulse-width low t cl 60/40 duty cycle 16 ns gpio output rise/fall after cs rise t god c load = 20pf 100 ns gpio input setup before cs fall t gsu 0 ns ldac pulse width t ldacpwl 20 ns c load = 20pf, slow = 0 1.8 12.0 sclk fall to dout transition (note 16) t dot c load = 20pf, slow = 1 10 40 ns c load = 20pf, slow = 0 1.8 12.0 sclk rise to dout transition (notes 16, 17) t dot c load = 20pf, slow = 1 10 40 ns cs fall to sclk fall setup time t css 10 ns sclk fall to cs rise hold time t csh 0 2000 ns din to sclk fall setup time t ds 10 ns din to sclk fall hold time t dh 0 ns cs pulse-width high t cspwh 50 ns cs rise to dout disable t dod c load = 20pf 25 ns cs fall to dout enable t doe c load = 20pf 1.5 25.0 ns eoc fall to cs fall t rds 30 ns cksel = 01 (temp sense) or cksel = 10 (temp sense), internal reference on (note 18) 65 cksel = 01 (temp sense) or cksel = 10 (temp sense), internal reference initially off 140 cksel = 01 (voltage conversion) 9 cksel = 10 (voltage conversion), internal reference on (note 18) 9 cs or cnvst rise to eoc fallinternally clocked conversion time t dov cksel = 10 (voltage conversion), internal reference initially off 80 s cksel = 00, cksel = 01 (temp sense) 40 ns cnvst pulse width t csw cksel = 01 (voltage conversion) 1.4 s
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 8 _______________________________________________________________________________________ electrical characteristics (continued) (v avdd = v dvdd = 2.7v to 3.6v (MAX1257), external reference v ref = 2.5v (MAX1257), v avdd = 4.75v to 5.25v, v dvdd = 2.7v to v avdd (max1220/max1258), external reference v ref = 4.096v (max1220/max1258), f clk = 3.6mhz (50% duty cycle), t a = -40? to +85?, unless otherwise noted. typical values are at v avdd = v dvdd = 3v (MAX1257), v avdd = v dvdd = 5v (max1220/max1258), t a = +25?. outputs are unloaded, unless otherwise noted.) note 1: tested at v dvdd = v avdd = +2.7v (MAX1257), v dvdd = +2.7v, v avdd = +5.25v (max1220/max1258). note 2: offset nulled. note 3: no bus activity during conversion. conversion time is defined as the number of conversion clock cycles multiplied by the clock period. note 4: see table 5 for reference-mode details. note 5: not production tested. guaranteed by design. note 6: see the adc/dac references section. note 7: fast automated test, excludes self-heating effects. note 8: specified over the -40? to +85? temperature range. note 9: refsel[1:0] = 00 and when dacs are not powered up. note 10: dac linearity, gain, and offset measurements are made between codes 115 and 3981. note 11: the dac buffers are guaranteed by design to be stable with a 1nf load. note 12: time required by the dac output to power up and settle within 1 lsb in the external reference mode. note 13: all dac dynamic specifications are valid for a load of 100pf and 10k ? . note 14: only one digital output (either dout, eoc , or the gpios) can be indefinitely shorted to either supply at one time. note 15: all digital inputs at either v dvdd or dgnd. v dvdd should not exceed v avdd . note 16: see the reset register section and table 9 for details on programming the slow bit. note 17: clock mode 11 only. note 18: first conversion after reference power-up is always timed as if the internal reference was initially off to ensure the internal reference has settled. subsequent conversions are timed as shown.
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports _______________________________________________________________________________________ 9 typical operating characteristics (v avdd = v dvdd = 3v (MAX1257), external v ref = 2.5v (MAX1257), v avdd = v dvdd = 5v (max1220/max1258), external v ref = 4.096v (max1220/max1258), f clk = 3.6mhz (50% duty cycle), f sample = 225ksps, c load = 50pf, 0.1? capacitor at ref, t a = +25?, unless otherwise noted.) 0 0.1 0.3 0.2 0.4 0.5 analog shutdown current vs. analog supply voltage max1220 toc01 supply voltage (v) analog shutdown current ( a) 4.750 5.000 4.875 5.125 5.250 max1220/max1258 0 0.1 0.3 0.2 0.4 0.5 analog shutdown current vs. analog supply voltage max1220 toc02 supply voltage (v) MAX1257 analog shutdown current ( a) 2.7 3.3 3.0 3.6 0.4 0.3 0.2 0.1 0 -40 10 -15 35 60 85 analog shutdown current vs. temperature max1220 toc03 temperature ( c) analog shutdown current ( a) max1220/max1258 MAX1257 adc integral nonlinearity vs. output code max1220 toc04 output code integral nonlinearity (lsb) 3072 2048 1024 -0.75 -0.50 -0.25 0 0.25 0.50 0.75 1.00 -1.00 0 4096 max1220/max1258 adc integral nonlinearity vs. output code max1220 toc05 output code integral nonlinearity (lsb) 3072 2048 1024 -0.75 -0.50 -0.25 0 0.25 0.50 0.75 1.00 -1.00 0 4096 MAX1257 adc differential nonlinearity vs. output code max1220 toc06 output code differential nonlinearity (lsb) 3072 2048 1024 -0.75 -0.50 -0.25 0 0.25 0.50 0.75 1.00 -1.00 0 4096 max1220/max1258 adc differential nonlinearity vs. output code max1220 toc07 output code differential nonlinearity (lsb) 3072 2048 1024 -0.75 -0.50 -0.25 0 0.25 0.50 0.75 1.00 -1.00 0 4096 MAX1257 0 0.2 0.6 0.4 0.8 1.0 adc offset error vs. analog supply voltage max1220 toc08 supply voltage (v) offset error (lsb) 4.750 5.000 4.875 5.125 5.250 max1220/max1258 0 0.2 0.6 0.4 0.8 1.0 adc offset error vs. analog supply volatge max1220 toc09 supply voltage (v) MAX1257 offset error (lsb) 2.7 3.3 3.0 3.6
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 10 ______________________________________________________________________________________ 2 1 0 -1 -2 -40 10 -15 356085 adc gain error vs. temperature max1220 toc13 temperature ( c) gain error (lsb) MAX1257 max1220/max1258 adc external reference input current vs. sampling rate max1220 toc14 sampling rate (ksps) adc external reference input current ( a) 250 200 150 100 50 10 20 30 40 50 60 0 0 300 max1220/max1258 MAX1257 analog supply current vs. sampling rate max1220 toc15 sampling rate (ksps) analog supply current (ma) 250 200 150 100 50 0.5 1.0 1.5 2.0 2.5 3.0 0 0300 max1220/max1258 MAX1257 1.90 1.94 1.92 1.98 1.96 2.02 2.00 2.04 analog supply current vs. analog supply voltage max1220 toc16 supply voltage (v) supply current (ma) 4.750 4.875 5.000 5.125 5.250 max1220/max1258 1.90 1.94 1.92 1.98 1.96 2.02 2.00 2.04 2.7 3.0 3.3 3.6 analog supply current vs. analog supply voltage max1220 toc17 supply voltage (v) MAX1257 supply current (ma) 1.88 1.92 1.90 1.96 1.94 2.00 1.98 2.02 -40 10 -15 35 60 85 analog supply current vs. temperature max1220 toc18 temperature ( c) analog supply current (ma) MAX1257 max1220/max1258 2 1 0 -1 -2 -40 10 -15 356085 adc offset error vs. temperature max1220 toc10 temperature ( c) offset error (lsb) MAX1257 max1220/max1258 1.0 0.5 0 -0.5 -1.0 4.750 5.000 4.875 5.125 5.250 adc gain error vs. analog supply voltage max1220 toc11 supply voltage (v) gain error (lsb) max1220/max1258 1.0 0.5 0 -0.5 -1.0 2.7 3.3 3.0 3.6 adc gain error vs. analog supply voltage max1220 toc12 supply voltage (v) MAX1257 gain error (lsb) typical operating characteristics (continued) (v avdd = v dvdd = 3v (MAX1257), external v ref = 2.5v (MAX1257), v avdd = v dvdd = 5v (max1220/max1258), external v ref = 4.096v (max1220/max1258), f clk = 3.6mhz (50% duty cycle), f sample = 225ksps, c load = 50pf, 0.1? capacitor at ref, t a = +25?, unless otherwise noted.)
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 11 typical operating characteristics (continued) (v avdd = v dvdd = 3v (MAX1257), external v ref = 2.5v (MAX1257), v avdd = v dvdd = 5v (max1220/max1258), external v ref = 4.096v (max1220/max1258), f clk = 3.6mhz (50% duty cycle), f sample = 225ksps, c load = 50pf, 0.1? capacitor at ref, t a = +25?, unless otherwise noted.) dac integral nonlinearity vs. output code max1220 toc19 output code integral nonlinearity (lsb) 3072 2048 1024 -1.0 -0.5 0 0.5 1.0 1.5 -1.5 0 4096 max1220/max1258 dac integral nonlinearity vs. output code max1220 toc20 output code integral nonlinearity (lsb) 3072 2048 1024 -1.0 -0.5 0 0.5 1.0 1.5 -1.5 0 4096 MAX1257 dac differential nonlinearity vs. output code max1220 toc21 output code differential nonlinearity (lsb) 2059 2056 2053 2050 -0.2 0 0.2 0.4 -0.4 2047 2062 max1220/max1258 dac differential nonlinearity vs. output code max1220 toc22 output code differential nonlinearity (lsb) 2059 2056 2053 2050 -0.2 0 0.2 0.4 -0.4 2047 2062 MAX1257 0.2 0.4 0.8 0.6 1.0 1.2 dac full-scale error vs. analog supply voltage max1220 toc23 supply voltage (v) dac full-scale error (lsb) 4.750 5.000 4.875 5.125 5.250 max1220/max1258 external reference = 4.096v 0.2 0.4 0.8 0.6 1.0 1.2 dac full-scale error vs. analog supply voltage max1220 toc24 supply voltage (v) dac full-scale error (lsb) 2.7 3.3 3.0 3.6 MAX1257 external reference = 2.5v -6 -4 -2 0 2 4 6 8 10 -40 -15 10 35 60 85 dac full-scale error vs. temperature max1220 toc25 temperature ( c) dac full-scale error (lsb) max1220/max1258 external reference = 4.096v internal reference -6 -4 -2 0 2 4 6 8 10 -40 -15 10 35 60 85 dac full-scale error vs. temperature max1220 toc26 temperature ( c) dac full-scale error (lsb) MAX1257 external reference = 2.5v internal reference dac full-scale error vs. reference voltage max1220 toc27 reference voltage (v) dac full-scale error (lsb) 4 3 1 2 -0.75 -0.50 -0.25 0 0.25 0.50 0.75 1.00 -1.00 05 max1220/max1258
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 12 ______________________________________________________________________________________ dac full-scale error vs. reference voltage max1220 toc28 reference voltage (v) dac full-scale error (lsb) 2.0 2.5 1.5 0.5 1.0 -6 -5 -4 -3 -2 -1 0 -7 03.0 MAX1257 dac full-scale error vs. load current max1220 toc29 load current (ma) dac full-scale error (lsb) 25 20 15 10 5 -10 -5 0 5 -15 030 max1220/max1258 dac full-scale error vs. load current max1220 toc30 load current (ma) dac full-scale error (lsb) 2.5 2.0 1.5 1.0 0.5 -10 -5 0 5 -15 0 3.0 MAX1257 typical operating characteristics (continued) (v avdd = v dvdd = 3v (MAX1257), external v ref = 2.5v (MAX1257), v avdd = v dvdd = 5v (max1220/max1258), external v ref = 4.096v (max1220/max1258), f clk = 3.6mhz (50% duty cycle), f sample = 225ksps, c load = 50pf, 0.1? capacitor at ref, t a = +25?, unless otherwise noted.) 4.12 4.11 4.10 4.09 4.08 -40 10 -15 356085 internal reference voltage vs. temperature max1220 toc31 temperature ( c) inetrnal reference voltage (v) max1220/max1258 2.52 2.51 2.50 2.49 2.48 -40 10 -15 356085 internal reference voltage vs. temperature max1220 toc32 temperature ( c) internal reference voltage (v) MAX1257 24.84 24.88 24.86 24.92 24.90 24.94 24.96 4.750 5.000 4.875 5.125 5.250 adc reference supply current vs. analog supply voltage max1220 toc33 supply voltage (v) adc reference supply current ( a) max1220/max1258 25.1 25.0 24.9 24.8 24.7 2.7 3.3 3.0 3.6 adc reference supply current vs. analog supply volatage max1220 toc34 supply voltage (v) MAX1257 adc reference supply current ( a) 40.5 40.6 40.8 40.7 40.9 41.0 -40 10 -15 35 60 85 max1220 toc35 temperature ( c) adc reference supply current ( a) adc reference supply current vs. temperature max1220/max1258 external reference = 4.096v 25.1 25.0 24.9 24.8 24.7 -40 10 -15 356085 adc reference supply current vs. temperature max1220 toc36 temperature ( c) adc reference supply current ( a) MAX1257, external reference = 2.5v
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 13 adc fft plot max1220 toc37 analog input frequency (khz) amplitude (db) 150 100 50 -140 -120 -100 -80 -60 -40 -20 0 -160 0 200 f sample = 32.768khz f analog_n = 10.080khz f clk = 5.24288mhz sinad = 71.27dbc snr = 71.45dbc thd = 85.32dbc sfdr = 87.25dbc adc imd plot max1220 toc38 analog input frequency (khz) amplitude (db) 150 100 50 -140 -120 -100 -80 -60 -40 -20 0 -160 0 200 f clk = 5.24288mhz f in1 = 9.0khz f in2 = 11.0khz a in = -6dbfs imd = 82.99dbc adc crosstalk plot max1220 toc39 analog input frequency (khz) amplitude (db) 150 100 50 -140 -120 -100 -80 -60 -40 -20 0 -160 0200 f clk = 5.24288mhz f in1 = 10.080khz f in2 = 8.0801khz snr = 72.00dbc thd = 85.24dbc enob = 11.65 bits dac output load regulation vs. output current max1220 toc40 output current (ma) dac output voltage (v) 60 30 0 2.01 2.02 2.03 2.04 2.05 2.06 2.07 2.08 2.00 -30 90 dac output = midscale max1220/max1258 sinking sourcing dac output load regulation vs. output current max1220 toc41 output current (ma) dac output voltage (v) 20 10 0 -20 -10 1.22 1.23 1.24 1.25 1.26 1.27 1.28 1.29 1.21 -30 30 dac output = midscale MAX1257 sinking sourcing gpio output voltage vs. source current max1220 toc42 source current (ma) gpio output voltage (v) 80 60 40 20 1 2 3 4 5 0 0100 max1220/max1258 gpioa0?a3 outputs gpiob0?b3, c0?c3 outputs gpio output voltage vs. source current max1220 toc43 source current (ma) gpio output voltage (v) 80 60 40 20 0.5 1.0 1.5 2.0 2.5 3.0 0 0 100 MAX1257 gpioa0?a3 outputs gpiob0?b3, c0?c3 outputs gpio output voltage vs. sink current max1220 toc44 sink current (ma) gpio output voltage (mv) 80 60 40 20 300 600 900 1200 1500 0 0 100 max1220/max1258 gpioa0?a3 outputs gpiob0?b3, c0?c3 outputs gpio output voltage vs. sink current max1220 toc45 sink current (ma) gpio output voltage (mv) 40 50 30 20 10 300 600 900 1200 1500 0 060 MAX1257 gpioa0?a3 outputs gpiob0?b3, c0?c3 outputs typical operating characteristics (continued) (v avdd = v dvdd = 3v (MAX1257), external v ref = 2.5v (MAX1257), v avdd = v dvdd = 5v (max1220/max1258), external v ref = 4.096v (max1220/max1258), f clk = 3.6mhz (50% duty cycle), f sample = 225ksps, c load = 50pf, 0.1? capacitor at ref, t a = +25?, unless otherwise noted.)
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 14 ______________________________________________________________________________________ temperature sensor error vs. temperature max1220 toc46 temperature ( c) temperature sensor error ( c) 60 35 -15 10 -0.75 -0.50 -0.25 0 0.25 0.50 0.75 1.00 -1.00 -40 85 dac-to-dac crosstalk r load = 10k ? , c load = 100pf max1220 toc47 100 s/div v outa 1v/div v outb 10mv/div ac-coupled MAX1257 dac-to-dac crosstalk r load = 10k ? , c load = 100pf max1220 toc48 100 s/div v outa 2v/div v outb 10mv/div ac-coupled max1220/max1258 dynamic response rise time r load = 10k ? , c load = 100pf max1220 toc49 1 s/div v out_ 1v/div cs 1v/div MAX1257 dynamic response rise time r load = 10k ? , c load = 100pf max1220 toc50 1 s/div v out_ 2v/div cs 2v/div max1220/max1258 dynamic response fall time r load = 10k ? , c load = 100pf max1220 toc51 1 s/div v out_ 1v/div cs 1v/div MAX1257 dynamic response fall time r load = 10k ? , c load = 100pf max1220 toc52 1 s/div v out_ 2v/div cs 2v/div max1220/max1258 major carry transition r load = 10k ? , c load = 100pf max1220 toc53 1 s/div v out_ 10mv/div ac-coupled cs 1v/div MAX1257 major carry transition r load = 10k ? , c load = 100pf max1220 toc54 1 s/div v out_ 20mv/div ac-coupled cs 2v/div max1220/max1258 typical operating characteristics (continued) (v avdd = v dvdd = 3v (MAX1257), external v ref = 2.5v (MAX1257), v avdd = v dvdd = 5v (max1220/max1258), external v ref = 4.096v (max1220/max1258), f clk = 3.6mhz (50% duty cycle), f sample = 225ksps, c load = 50pf, 0.1? capacitor at ref, t a = +25?, unless otherwise noted.)
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 15 dac digital feedthrough r load = 10k ? , c load = 100pf, cs = high, din = low max1220 toc55 200ns/div v out_ 100mv/div ac-coupled sclk 1v/div MAX1257 dac digital feedthrough r load = 10k ? , c load = 100pf, cs = high, din = low max1220 toc56 200ns/div v out_ 100mv/div ac-coupled sclk 2v/div max1220/max1258 negative full-scale settling time r load = 10k ? , c load = 100pf max1220 toc57 1 s/div v out_ 1v/div MAX1257 v ldac 1v/div negative full-scale settling time r load = 10k ? , c load = 100pf max1220 toc58 2 s/div v out_ 2v/div max1220/max1258 v ldac 2v/div positive full-scale settling time r load = 10k ? , c load = 100pf max1220 toc59 1 s/div v out_ 1v/div MAX1257 v ldac 1v/div positive full-scale settling time r load = 10k ? , c load = 100pf max1220 toc60 1 s/div v out_ 2v/div max1220/max1258 v ldac 2v/div adc reference feedthrough r load = 10k ? , c load = 100pf max1220 toc61 200 s/div v dac-out 10mv/div ac-coupled MAX1257 v ref2 1v/div adc reference switching adc reference feedthrough r load = 10k ? , c load = 100pf max1220 toc62 200 s/div v dac-out 2mv/div ac-coupled max1220/max1258 v ref2 2v/div adc reference switching typical operating characteristics (continued) (v avdd = v dvdd = 3v (MAX1257), external v ref = 2.5v (MAX1257), v avdd = v dvdd = 5v (max1220/max1258), external v ref = 4.096v (max1220/max1258), f clk = 3.6mhz (50% duty cycle), f sample = 225ksps, c load = 50pf, 0.1? capacitor at ref, t a = +25?, unless otherwise noted.)
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 16 ______________________________________________________________________________________ pin description pin max1220 MAX1257 max1258 name function 1, 2 gpioa0, gpioa1 general-purpose i/o a0, a1. gpioa0, a1 can sink and source 15ma. 3 4 eoc active-low end-of-conversion output. data is valid after the falling edge of eoc . 4 7 dvdd digital positive-power input. bypass dvdd to dgnd with a 0.1f capacitor. 5 8 dgnd digital ground. connect dgnd to agnd. 6 9 dout serial-data output. data is clocked out on the falling edge of the sclk clock in modes 00, 01, and 10. data is clocked out on the rising edge of the sclk clock in mode 11. it is high impedance when cs is high. 7 10 sclk serial-clock input. clocks data in and out of the serial interface. (duty cycle must be 40% to 60%.) see table 5 for details on programming the clock mode. 8 11 din serial-data input. din data is latched into the serial interface on the falling edge of sclk. 9C12, 16C19 12C15, 22C25 out0Cout7 dac outputs 13 18 avdd positive analog power input. bypass avdd to agnd with a 0.1f capacitor. 14 19 agnd analog ground 15, 23, 32, 33 n.c. no connection. not internally connected. 20 26 ldac active-low load dac. ldac is an asynchronous active-low input that updates the dac outputs. drive ldac low to make the dac registers transparent. 21 27 cs active-low chip-select input. when cs is low, the serial interface is enabled. when cs is high, dout is high impedance. 22 28 res_sel reset select. select dac wake-up mode. set res_sel low to wake up the dac outputs with a 100k  resistor to agnd or set res_sel high to wake up the dac outputs with a 100k  resistor to v ref . set res_sel high to power up the dac input register to fffh. set res_sel low to power up the dac input register to 000h. 24, 25 gpioc0, gpioc1 general-purpose i/o c0, c1. gpioc0, c1 can sink 4ma and source 2ma.
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 17 pin description (continued) pin max1220 MAX1257 max1258 name function 26 35 ref1 reference 1 input. reference voltage; leave unconnected to use the internal reference (2.5v for the MAX1257 or 4.096v for the max1220/max1258). ref1 is the positive reference in adc external differential reference mode. bypass ref1 to agnd with a 0.1f capacitor in external reference mode only. see the adc/dac references section. 27C31, 34 ain0Cain5 analog inputs 35 ref2/ain6 reference 2 input/analog input 6. see table 5 for details on programming the setup register. ref2 is the negative reference in the adc external differential reference mode. 36 cnvst /ain7 active-low conversion-start input/analog input 7. see table 5 for details on programming the setup register. 1 cnvst /ain15 active-low conversion-start input/analog input 15. see table 5 for details on programming the setup register. 2, 3, 5, 6 gpioa0Cgpioa3 general-purpose i/o a0Ca3. gpioa0Cgpioa3 can sink and source 15ma. 16, 17, 20, 21 gpiob0Cgpiob3 general-purpose i/o b0Cb3. gpiob0Cgpiob3 can sink 4ma and source 2ma. 29C32 gpioc0Cgpioc3 general-purpose i/o c0Cc3. gpioc0Cgpioc3 can sink 4ma and source 2ma. 33, 34, 36C47 ain0Cain13 analog inputs 48 ref2/ain14 reference 2 input/analog input 14. see table 5 for details on programming the setup register. ref2 is the negative reference in the adc external differential reference mode. ep exposed pad. must be externally connected to agnd. do not use as a ground connect.
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 18 ______________________________________________________________________________________ detailed description the max1220/MAX1257/max1258 integrate a 12-bit, multichannel, analog-to-digital converter (adc), and a 12-bit, octal, digital-to-analog converter (dac) in a sin- gle ic. these devices also include a temperature sen- sor and configurable gpios with a 25mhz spi-/qspi-/microwire-compatible serial interface. the adc is available in 8 and 16 input-channel versions. the octal dac outputs settle within 2.0?, and the adc has a 225ksps conversion rate. all devices include an internal reference (2.5v or 4.096v) providing a well-regulated, low-noise reference for both the adc and dac. programmable reference modes for the adc and dac allow the use of an inter- nal reference, an external reference, or a combination of both. features such as an internal ?? accurate temperature sensor, fifo, scan modes, programmable internal or external clock modes, data averaging, and autoshutdown allow users to minimize both power con- sumption and processor requirements. the low glitch energy (4nv s) and low digital feedthrough (0.5nv s) of the integrated octal dacs make these devices ideal for digital control of fast-response closed-loop systems. these devices are guaranteed to operate with a supply voltage from +2.7v to +3.6v (MAX1257) and from +4.75v to +5.25v (max1220/max1258). these devices consume 2.5ma at 225ksps throughput, only 22? at 1ksps throughput, and under 0.2? in the shutdown mode. the MAX1257/max1258 feature 12 gpios while the max1220 offers four gpios that can be configured as inputs or outputs. figure 1 shows the MAX1257/max1258 functional dia- gram. the max1220 only includes the gpioa0, gpioa1 and gpioc0, gpioc1 block. the output-con- ditioning circuitry takes the internal parallel data bus and converts it to a serial data format at dout, with the appropriate wake-up timing. the arithmetic logic unit (alu) performs the averaging function. spi-compatible serial interface the max1220/MAX1257/max1258 feature a serial inter- face that is compatible with spi and microwire devices. for spi, ensure the spi bus master (typically a microcontroller (?)) runs in master mode so that it generates the serial clock signal. select the sclk fre- quency of 25mhz or less, and set the clock polarity (cpol) and phase (cpha) in the ? control registers to the same value. the max1220/MAX1257/max1258 operate with sclk idling high or low, and thus operate with cpol = cpha = 0 or cpol = cpha = 1. set cs low to latch any input data at din on the falling edge of sclk. output data at dout is updated on the falling edge of sclk in clock modes 00, 01, and 10. output data at dout is updated on the rising edge of sclk in clock mode 11. see figures 6?1. bipolar true-differen- tial results and temperature-sensor results are available in two? complement format, while all other results are in binary. a high-to-low transition on cs initiates the data-input operation. serial communications to the adc always begin with an 8-bit command byte (msb first) loaded from din. the command byte and the subsequent data bytes are clocked from din into the serial interface on the falling edge of sclk. the serial-interface and fast- interface circuitry is common to the adc, dac, and gpio sections. the content of the command byte determines whether the spi port should expect 8, 16, or 24 bits and whether the data is intended for the adc, dac, or gpios (if applicable). see table 1. driving cs high resets the serial interface. the conversion register controls adc channel selec- tion, adc scan mode, and temperature-measurement requests. see table 4 for information on writing to the conversion register. the setup register controls the clock mode, reference, and unipolar/bipolar adc con- figuration. use a second byte, following the first, to write to the unipolar-mode or bipolar-mode registers. see table 5 for details of the setup register and see tables 6, 7, and 8 for setting the unipolar- and bipolar- mode registers. hold cs low between the command byte and the second and third byte. the adc averag- ing register is specific to the adc. see table 9 to address that register. table 11 shows the details of the reset register. begin a write to the dac by writing 0001xxxx as a command byte. the last 4 bits of this command byte are don?-care bits. write another 2 bytes (holding cs low) to the dac interface register following the com- mand byte to select the appropriate dac and the data to be written to it. see the dac serial interface section and tables 10, 20, and 21.
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 19 dout eoc address ain0 ain13 ref2/ ain14 cnvst/ ain15 ref1 din sclk cs gpioa0? gpioa3 gpiob0? gpiob3 gpioc0? gpioc3 avdd spi port gpio control input register dac register output conditioning 12-bit dac buffer user-programmable i/o oscillator out0 out1 out2 out4 out5 out6 MAX1257 max1258 12-bit sar adc logic control temperature sensor fifo and alu ldac res_sel agnd t/h ref2 input register dac register output conditioning 12-bit dac buffer input register dac register output conditioning 12-bit dac buffer input register dac register output conditioning 12-bit dac buffer input register internal reference dac register output conditioning 12-bit dac buffer input register dac register output conditioning 12-bit dac buffer input register dac register output conditioning 12-bit dac buffer input register dac register output conditioning 12-bit dac buffer out3 out7 dgnd dvdd cnvst figure 1. MAX1257/max1258 functional diagram
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 20 ______________________________________________________________________________________ table 1. command byte (msb first) register name bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 additional no. of bytes conversion 1 chsel3 chsel2 chsel1 chsel0 scan1 scan0 temp 0 setup 0 1 cksel1 cksel0 refsel1 refsel0 diffsel1 diffsel0 1 adc 0 0 1 avgon navg1 navg0 nscan1 nscan0 0 dac select 0 0 0 1 x x x x 2 reset 0 0 0 0 1 reset slow fbgon 0 gpio configure 0 0 0 0 0 0 1 1 1 or 2 gpio write 0 0 0 0 0 0 1 0 1 or 2 gpio read 0 0 0 0 0 0 0 1 1 or 2 no operation 0 0 0 0 0 0 0 0 0 x = don? care. write to the gpios by issuing a command byte to the appropriate register. writing to the max1220 gpios requires 1 additional byte following the command byte. writing to the MAX1257/max1258 requires 2 additional bytes following the command byte. see tables 12?9 for details on gpio configuration, writes, and reads. see the gpio command section. command bytes writ- ten to the gpios on devices without gpios are ignored. power-up default state the max1220/MAX1257/max1258 power up with all blocks in shutdown (including the reference). all regis- ters power up in state 00000000, except for the setup register and the dac input register. the setup register powers up at 0010 1000 with cksel1 = 1 and refsel1 = 1. the dac input register powers up to fffh when res_sel is high and powers up to 000h when res_sel is low. 12-bit adc the max1220/MAX1257/max1258 adcs use a fully differential successive-approximation register (sar) conversion technique and on-chip track-and-hold (t/h) circuitry to convert temperature and voltage signals into 12-bit digital results. the analog inputs accept both sin- gle-ended and differential input signals. single-ended signals are converted using a unipolar transfer function, and differential signals are converted using a selec- table bipolar or unipolar transfer function. see the adc transfer functions section for more data. adc clock modes when addressing the setup, register bits 5 and 4 of the command byte (cksel1 and cksel0, respectively) control the adc clock modes. see table 5. choose between four different clock modes for various ways to start a conversion and determine whether the acquisi- tions are internally or externally timed. select clock mode 00 to configure cnvst /ain_ to act as a conver- sion start and use it to request internally timed conver- sions, without tying up the serial bus. in clock mode 01, use cnvst to request conversions one channel at a time, thereby controlling the sampling speed without tying up the serial bus. request and start internally timed conversions through the serial interface by writ- ing to the conversion register in the default clock mode, 10. use clock mode 11 with sclk up to 3.6mhz for externally timed acquisitions to achieve sampling rates up to 225ksps. clock mode 11 disables scanning and averaging. see figures 6? for timing specifications on how to begin a conversion. these devices feature an active-low, end-of-conversion output. eoc goes low when the adc completes the last requested operation and is waiting for the next com- mand byte. eoc goes high when cs or cnvst go low. eoc is always high in clock mode 11. single-ended or differential conversions the max1220/MAX1257/max1258 use a fully differen- tial adc for all conversions. when a pair of inputs are connected as a differential pair, each input is connect- ed to the adc. when configured in single-ended mode, the positive input is the single-ended channel and the negative input is referred to agnd. see figure 2. in differential mode, the t/h samples the difference between two analog inputs, eliminating common-mode dc offsets and noise. in+ and in- are selected from the following pairs: ain0/ain1, ain2/ain3, ain4/ain5, ain6/ain7, ain8/ain9, ain10/ain11, ain12/ain13, ain14/ain15. ain0?in7 are available on all devices. ain0?in15 are available on the MAX1257/max1258.
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 21 see tables 5? for more details on configuring the inputs. for the inputs that are configurable as cnvst , ref2, and an analog input, only one function can be used at a time. unipolar or bipolar conversions address the unipolar- and bipolar-mode registers through the setup register (bits 1 and 0). see table 5 for the setup register. see figures 3 and 4 for the transfer- function graphs. program a pair of analog inputs for dif- ferential operation by writing a one to the appropriate bit of the bipolar- or unipolar-mode register. unipolar mode sets the differential input range from 0 to v ref1. a nega- tive differential analog input in unipolar mode causes the digital output code to be zero. selecting bipolar mode sets the differential input range to ? ref1 / 2. the digital output code is binary in unipolar mode and two? com- plement in bipolar mode. in single-ended mode, the max1220/MAX1257/ max1258 always operate in unipolar mode. the analog inputs are internally referenced to agnd with a full-scale input range from 0 to the selected reference voltage. analog input (t/h) the equivalent circuit of figure 2 shows the adc input architecture of the max1220/MAX1257/max1258. in track mode, a positive input capacitor is connected to ain0?in15 in single-ended mode and ain0, ain2, and ain4?in14 (only positive inputs) in differential mode. a negative input capacitor is connected to agnd in single-ended mode or ain1, ain3, and ain5?in15 (only negative inputs) in differential mode. for external t/h timing, use clock mode 01. after the t/h enters hold mode, the difference between the sam- pled positive and negative input voltages is converted. the input capacitance charging rate determines the time required for the t/h to acquire an input signal. if the input signal? source impedance is high, the required acquisition time lengthens. any source impedance below 300 ? does not signifi- cantly affect the adc? ac performance. a high-imped- ance source can be accommodated either by lengthening t acq (only in clock mode 01) or by placing a 1? capacitor between the positive and negative ana- log inputs. the combination of the analog-input source impedance and the capacitance at the analog input cre- ates an rc filter that limits the analog input bandwidth. input bandwidth the adc? input-tracking circuitry has a 1mhz small- signal bandwidth, making it possible to digitize high- speed transient events and measure periodic signals with bandwidths exceeding the adc? sampling rate by using undersampling techniques. anti-alias prefiltering of the input signals is necessary to avoid high-frequen- cy signals aliasing into the frequency band of interest. analog input protection internal electrostatic-discharge (esd) protection diodes clamp all analog inputs to avdd and agnd, allowing the inputs to swing from (agnd - 0.3v) to (avdd + 0.3v) without damage. however, for accurate conver- sions near full scale, the inputs must not exceed avdd by more than 50mv or be lower than agnd by 50mv. if an analog input voltage exceeds the supplies, limit the input current to 2ma. internal fifo the max1220/MAX1257/max1258 contain a first- in/first-out (fifo) buffer that holds up to 16 adc results plus one temperature result. the internal fifo allows the adc to process and store multiple internally clocked conversions and a temperature measurement without being serviced by the serial bus. if the fifo is filled and further conversions are request- ed without reading from the fifo, the oldest adc results are overwritten by the new adc results. each result contains 2 bytes, with the msb preceded by four leading zeros. after each falling edge of cs , the oldest available pair of bytes of data is available at dout, msb first. when the fifo is empty, dout is zero. ain0?ain15 (single-ended), ain0, ain2, ain4?ain14 (differential) comparator hold acq acq hold acq hold av dd / 2 ref1 agnd cin+ cin- dac agnd (single-ended), ain1, ain3, ain5?ain15 (differential) figure 2. equivalent input circuit
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 22 ______________________________________________________________________________________ the first 2 bytes of data read out after a temperature measurement always contain the 12-bit temperature result, preceded by four leading zeros, msb first. if another temperature measurement is performed before the first temperature result is read out, the old measure- ment is overwritten by the new result. temperature results are in degrees celsius (two? complement), at a resolution of 8 lsb per degree. see the temperature measurements section for details on converting the dig- ital code to a temperature. 12-bit dac in addition to the 12-bit adc, the max1220/ MAX1257/max1258 also include eight voltage-output, 12-bit, monotonic dacs with less than 4 lsb integral nonlinearity error and less than 1 lsb differential nonlin- earity error. each dac has a 2s settling time and ultra- low glitch energy (4nv s). the 12-bit dac code is unipolar binary with 1 lsb = v ref /4096. dac digital interface figure 1 shows the functional diagram of the MAX1257/ max1258. the shift register converts a serial 16-bit word to parallel data for each input register operating with a clock rate up to 25mhz. the spi-compatible digital inter- face to the shift register consists of cs , sclk, din, and dout. serial data at din is loaded on the falling edge of sclk. pull cs low to begin a write sequence. begin a write to the dac by writing 0001xxxx as a command byte. the last 4 bits of the dac select register are don?- care bits. see table 10. write another 2 bytes to the dac interface register following the command byte to select the appropriate dac and the data to be written to it. see tables 20 and 21. the eight double-buffered dacs include an input and a dac register. the input registers are directly connect- ed to the shift register and hold the result of the most recent write operation. the eight 12-bit dac registers hold the current output code for the respective dac. data can be transferred from the input registers to the dac registers by pulling ldac low or by writing the appropriate dac command sequence at din. see table 20. the outputs of the dacs are buffered through eight rail-to-rail op amps. the max1220/MAX1257/max1258 dac output voltage range is based on the internal reference or an external reference. write to the setup register (see table 5) to program the reference. if using an external voltage ref- erence, bypass ref1 with a 0.1? capacitor to agnd. the MAX1257 internal reference is 2.5v. the max1220/max1258 internal reference is 4.096v. when using an external reference on any of these devices, the voltage range is 0.7v to v avdd . dac transfer function see table 2 for various analog outputs from the dac. dac power-on wake-up modes the state of the res_sel input determines the wake-up state of the dac outputs. connect res_sel to avdd or agnd upon power-up to be sure the dac outputs wake up to a known state. connect res_sel to agnd to wake up all dac outputs at 000h. while res_sel is low, the 100k ? internal resistor pulls the dac outputs to agnd and the output buffers are powered down. connect res_sel to avdd to wake up all dac outputs at fffh. while res_sel is high, the 100k ? pullup resistor pulls the dac outputs to v ref1 and the output buffers are powered down. dac power-up modes see table 21 for a description of the dac power-up and power-down modes. gpios in addition to the internal adc and dac, the MAX1257/max1258 also provide 12 general-purpose input/output channels, gpioa0?pioa3, gpiob0 dac contents msb lsb analog output 1111 1111 1111 1000 0000 0001 1000 0000 0000 0111 0111 0111 0000 0000 0001 0000 0000 0000 0 + ? ? ? ? ? ? v ref 4095 4096 + ? ? ? ? ? ? = + ? ? ? ? ? ? v v ref ref 2048 4096 2 + ? ? ? ? ? ? v ref 2047 4096 + ? ? ? ? ? ? v ref 1 4096 + ? ? ? ? ? ? v ref 2049 4096 table 2. dac output code table
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 23 gpiob3, and gpioc0?pioc3. the max1220 includes four gpio channels (gpioa0, gpioa1, gpioc0, gpioc1). read and write to the gpios as detailed in table 1 and tables 12?9. also, see the gpio command section. see figures 11 and 12 for gpio timing. write to the gpios by writing a command byte to the gpio command register. write a single data byte to the max1220 following the command byte. write 2 bytes to the MAX1257/max1258 following the command byte. the gpios can sink and source current. the MAX1257/max1258 gpioa0?pioa3 can sink and source up to 15ma. gpiob0?piob3 and gpioc0 gpioc3 can sink 4ma and source 2ma. the max1220 gpioa0 and gpioa1 can sink and source up to 15ma. the max1220 gpioc0 and gpioc1 can sink 4ma and source 2ma. see table 3. clock modes internal clock the max1220/MAX1257/max1258 can operate from an internal oscillator. the internal oscillator is active in clock modes 00, 01, and 10. figures 6, 7, and 8 show how to start an adc conversion in the three internally timed conversion modes. read out the data at clock speeds up to 25mhz through the spi interface. external clock set cksel1 and cksel0 in the setup register to 11 to set up the interface for external clock mode 11. see table 5. pulse sclk at speeds from 0.1mhz to 3.6mhz. write to sclk with a 40% to 60% duty cycle. the sclk frequency controls the conversion timing. see figures 9a and 9b for clock mode 11 timing. see the adc conversions in clock mode 11 section. adc/dac references address the reference through the setup register, bits 3 and 2. see table 5. following a wake-up delay, set refsel[1:0] = 00 to program both the adc and dac for internal reference use. set refsel[1:0] = 10 to pro- gram the adc for internal reference. set refsel[1:0] = 10 to program the dac for external reference, ref1. when using ref1 or ref2/ain_ in external-reference mode, connect a 0.1? capacitor to agnd. set refsel[1:0] = 01 to program the adc and dac for external-reference mode. the dac uses ref1 as its external reference, while the adc uses ref2 as its external reference. set refsel[1:0] = 11 to program the adc for external differential reference mode. ref1 is the positive reference and ref2 is the negative refer- ence in the adc external differential mode. when refsel[1:0] = 00 or 10, ref2/ain_ functions as an analog input channel. when refsel[1:0] = 01 or 11, ref2/ain_ functions as the device? negative reference. temperature measurements issue a command byte setting bit 0 of the conversion register to one to take a temperature measurement. see table 4. the max1220/MAX1257/max1258 perform temperature measurements with an internal diode-con- nected transistor. the diode bias current changes from 68? to 4? to produce a temperature-dependent bias voltage difference. the second conversion result at 4? is subtracted from the first at 68? to calculate a digital value that is proportional to absolute temperature. the output data appearing at dout is the digital code above, minus an offset to adjust from kelvin to celsius. the reference voltage used for the temperature mea- surements is always derived from the internal reference source to ensure that 1 lsb corresponds to 1/8 of a degree celsius. on every scan where a temperature measurement is requested, the temperature conversion is carried out first. the first 2 bytes of data read from the fifo contain the result of the temperature measure- ment. if another temperature measurement is per- formed before the first temperature result is read out, the old measurement is overwritten by the new result. temperature results are in degrees celsius (two? com- plement). see the applications information section for information on how to perform temperature measure- ments in each clock mode. register descriptions the max1220/MAX1257/max1258 communicate between the internal registers and the external circuitry through the spi-compatible serial interface. table 1 details the command byte, the registers, and the bit table 3. gpio maximum sink/source current MAX1257/max1258 (ma) max1220 (ma) current gpioa0?pioa3 gpiob0?piob3 gpioc0?pioc3 gpioa0, gpioa1 gpioc0, gpioc1 sink 15 4 4 15 4 source 15 2 2 15 2
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 24 ______________________________________________________________________________________ names. tables 4?2 show the various functions within the conversion register, setup register, unipolar-mode register, bipolar-mode register, adc averaging regis- ter, dac select register, reset register, and gpio com- mand register, respectively. conversion register select active analog input channels, scan modes, and a single temperature measurement per scan by issuing a command byte to the conversion register. table 4 details channel selection, the four scan modes, and how to request a temperature measurement. start a scan by writing to the conversion register when in clock mode 10 or 11, or by applying a low pulse to the cnvst pin when in clock mode 00 or 01. see figures 6 and 7 for timing specifications for starting a scan with cnvst . a conversion is not performed if it is requested on a channel or one of the channel pairs that has been con- figured as cnvst or ref2. for channels configured as differential pairs, the chsel0 bit is ignored and the two pins are treated as a single differential channel. select scan mode 00 or 01 to return one result per sin- gle-ended channel and one result per differential pair within the selected scanning range (set by bits 2 and 1, scan1 and scan0), plus one temperature result, if selected. select scan mode 10 to scan a single input channel numerous times, depending on nscan1 and nscan0 in the adc averaging register (table 9). select scan mode 11 to return only one result from a single channel. setup register issue a command byte to the setup register to config- ure the clock, reference, power-down modes, and adc single-ended/differential modes. table 5 details the bits in the setup-register command byte. bits 5 and 4 (cksel1 and cksel0) control the clock mode, acqui- sition and sampling, and the conversion start. bits 3 and 2 (refsel1 and refsel0) set the device for either internal or external reference. bits 1 and 0 (diffsel1 and diffsel0) address the adc unipolar-mode and bipolar-mode registers and configure the analog input channels for differential operation. table 4. conversion register* bit name bit function 7 (msb) s et to one to sel ect conver si on r eg i ster . chsel3 6 analog-input channel select. chsel2 5 analog-input channel select. chsel1 4 analog-input channel select. chsel0 3 analog-input channel select. scan1 2 scan-mode select. scan0 1 scan-mode select. temp 0 (lsb) set to one to take a single temp- erature measurement. the first conversion result of a scan contains temperature information. chsel3 chsel2 chsel1 chsel0 selec t ed c h an n el ( n ) 0 0 0 0 ain0 0 0 0 1 ain1 0 0 1 0 ain2 0 0 1 1 ain3 0 1 0 0 ain4 0 1 0 1 ain5 0 1 1 0 ain6 0 1 1 1 ain7 1 0 0 0 ain8 1 0 0 1 ain9 1 0 1 0 ain10 1 0 1 1 ain11 1 1 0 0 ain12 1 1 0 1 ain13 1 1 1 0 ain14 1 1 1 1 ain15 scan1 scan0 scan mode (channel n is selected by bits chsel3Cchsel0) 0 0 scans channels 0 through n. 01 scans channels n through the highest numbered channel. 10 s cans channel n r epeated l y. the ad c aver ag ing reg i ster sets the numb er of r esul ts. 11n o scan. c onver ts channel n once onl y. * see below for bit details.
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 25 table 5. setup register* bit name bit function 7 (msb) set to zero to select setup register. 6 set to one to select setup register. cksel1 5 clock mode and cnvst configuration; resets to one at power-up. cksel0 4 clock mode and cnvst configuration. refsel1 3 reference-mode configuration. refsel0 2 reference-mode configuration. diffsel1 1 unipolar-/bipolar-mode register configuration for differential mode. diffsel0 0 (lsb) unipolar-/bipolar-mode register configuration for differential mode. table 5a. clock modes* cksel1 cksel0 conversion clock acquisition/sampling cnvst configuration 0 0 internal internally timed. cnvst 0 1 internal externally timed by cnvst . cnvst 1 0 internal internally timed. ain15/ain7 1 1 external (3.6mhz max) externally timed by sclk. ain15/ain7 table 5b. clock modes 00, 01, and 10 refsel1 refsel0 voltage reference override conditions autoshutdown ref2 configuration ain inter nal r efer ence tur ns off after scan i s com p l ete. if i nter nal r efer ence i s tur ned off, ther e i s a p r og r am m ed d el ay of 218 i nter nal - conver si on cl ock cycl es. 00 internal (dac and adc) temperature internal reference required. there is a programmed delay of 244 internal-conversion clock cycles for the internal reference to settle after wake-up. ain14/ain6 ain internal reference not used. 01 external single- ended (ref1 for dac and ref2 for adc) temperature internal reference required. there is a programmed delay of 244 internal-conversion clock cycles for the internal reference to settle after wake-up. ref2 ain default reference mode. internal reference turns off after scan is complete. if internal reference is turned off, there is a programmed delay of 218 internal- conversion clock cycles. 10 internal (adc) and external ref1 (dac) temperature internal reference required. there is a programmed delay of 244 internal-conversion clock cycles for the internal reference to settle after wake-up. ain14/ain6 ain internal reference not used. 11 external differential (adc), external ref1 (dac) temperature internal reference required. there is a programmed delay of 244 internal-conversion clock cycles for the internal reference to settle after wake-up. ref2 * see below for bit details. * see the clock modes section.
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 26 ______________________________________________________________________________________ table 5c. clock mode 11 refsel1 refsel0 voltage reference override conditions autoshutdown ref2 configuration ain inter nal r efer ence tur ns off after scan i s com p l ete. if i nter nal r efer ence i s tur ned off, ther e i s a p r og r am m ed d el ay of 218 exter nal conver si on cl ock cycl es. 00 internal (dac and adc) temperature inter nal r efer ence r eq ui r ed . ther e i s a p r og r am m ed d el ay of 244 exter nal conver si on cl ock cycl es for the i nter nal r efer ence. tem p er atur e- sensor outp ut ap p ear s at d ou t after 188 fur ther exter nal cl ock cycl es. ain14/ain6 ain internal reference not used. 01 external single- ended (ref1 for dac and ref2 for adc) tem p er atur e inter nal r efer ence r eq ui r ed . ther e i s a p r og r am m ed d el ay of 244 exter nal conver si on cl ock cycl es for the i nter nal r efer ence. tem p er atur e- sensor outp ut ap p ear s at d ou t after 188 fur ther exter nal cl ock cycl es. ref2 ain default reference mode. internal reference turns off after scan is complete. if internal reference is turned off, there is a programmed delay of 218 external conversion clock cycles. 10 internal (adc) and external ref1 (dac) temperature inter nal r efer ence r eq ui r ed . ther e i s a p r og r am m ed d el ay of 244 exter nal conver si on cl ock cycl es for the i nter nal r efer ence. tem p er atur e- sensor outp ut ap p ear s at d ou t after 188 fur ther exter nal cl ock cycl es. ain14/ain6 ain internal reference not used. 11 external differential (adc), external ref1 (dac) temperature inter nal r efer ence r eq ui r ed . ther e i s a p r og r am m ed d el ay of 244 exter nal conver si on cl ock cycl es for the i nter nal r efer ence. tem p er atur e- sensor outp ut ap p ear s at d ou t after 188 fur ther exter nal cl ock cycl es. ref2 table 5d. differential select modes diffsel1 diffsel0 function 0 0 no data follows the command setup byte. unipolar-mode and bipolar-mode registers remain unchanged. 0 1 no data follows the command setup byte. unipolar-mode and bipolar-mode registers remain unchanged. 1 0 1 byte of data follows the command setup byte and is written to the unipolar-mode register. 1 1 1 byte of data follows the command setup byte and is written to the bipolar-mode register. the adc reference is always on if any of the following conditions are true: 1) the fbgon bit is set to one in the reset register. 2) at least one dac output is powered up and refsel[1:0] (in the setup register) = 00. 3) at least one dac is powered down through the 100k ? to vref and refsel[1:0] = 00. if any of the above conditions exist, the adc reference is always on, but there is a 188 clock-cycle delay before temperature-sensor measurements begin, if requested.
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 27 table 6. unipolar-mode register (addressed through the setup register) bit name bit function uch0/1 7 (msb) configure ain0 and ain1 for unipolar differential conversion. uch2/3 6 configure ain2 and ain3 for unipolar differential conversion. uch4/5 5 configure ain4 and ain5 for unipolar differential conversion. uch6/7 4 configure ain6 and ain7 for unipolar differential conversion. uch8/9 3 configure ain8 and ain9 for unipolar differential conversion. uch10/11 2 configure ain10 and ain11 for unipolar differential conversion. uch12/13 1 configure ain12 and ain13 for unipolar differential conversion. uch14/15 0 (lsb) configure ain14 and ain15 for unipolar differential conversion. table 7. bipolar-mode register (addressed through the setup register) bit name bit function bch0/1 7 (msb) set to one to configure ain0 and ain1 for bipolar differential conversion. set the corresponding bits in the unipolar-mode and bipolar-mode registers to zero to configure ain0 and ain1 for unipolar single-ended conversion. bch2/3 6 set to one to configure ain2 and ain3 for bipolar differential conversion. set the corresponding bits in the unipolar-mode and bipolar-mode registers to zero to configure ain2 and ain3 for unipolar single-ended conversion. bch4/5 5 set to one to configure ain4 and ain5 for bipolar differential conversion. set the corresponding bits in the unipolar-mode and bipolar-mode registers to zero to configure ain4 and ain5 for unipolar single-ended conversion. bch6/7 4 set to one to configure ain6 and ain7 for bipolar differential conversion. set the corresponding bits in the unipolar-mode and bipolar-mode registers to zero to configure ain6 and ain7 for unipolar single-ended conversion. bch8/9 3 set to one to configure ain8 and ain9 for bipolar differential conversion. set the corresponding bits in the unipolar-mode and bipolar-mode registers to zero to configure ain8 and ain9 for unipolar single-ended conversion. bch10/11 2 set to one to configure ain10 and ain11 for bipolar differential conversion. set the corresponding bits in the unipolar-mode and bipolar-mode registers to zero to configure ain10 and ain11 for unipolar single-ended conversion. bch12/13 1 set to one to configure ain12 and ain13 for bipolar differential conversion. set the corresponding bits in the unipolar-mode and bipolar-mode registers to zero to configure ain12 and ain13 for unipolar single-ended conversion. bch14/15 0 (lsb) set to one to configure ain14 and ain15 for bipolar differential conversion. set the corresponding bits in the unipolar-mode and bipolar-mode registers to zero to configure ain14 and ain15 for unipolar single-ended conversion.
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 28 ______________________________________________________________________________________ unipolar/bipolar registers the final 2 bits (lsbs) of the setup register control the unipolar-/bipolar-mode address registers. set diffsel[1:0] = 10 to write to the unipolar-mode regis- ter. set bits diffsel[1:0] = 11 to write to the bipolar- mode register. in both cases, the setup command byte must be followed by 1 byte of data that is written to the unipolar-mode register or bipolar-mode register. hold cs low and run 16 sclk cycles before pulling cs high. if the last 2 bits of the setup register are 00 or 01, nei- ther the unipolar-mode register nor the bipolar-mode register is written. any subsequent byte is recognized as a new command byte. see tables 6, 7, and 8 to pro- gram the unipolar- and bipolar-mode registers. both registers power up at all zeros to set the inputs as 16 unipolar single-ended channels. to configure a channel pair as single-ended unipolar, bipolar differen- tial, or unipolar differential, see table 8. in unipolar mode, ain+ can exceed ain- by up to v ref . the output format in unipolar mode is binary. in bipolar mode, either input can exceed the other by up to v ref / 2. the output format in bipolar mode is two? complement (see the adc transfer functions section). adc averaging register write a command byte to the adc averaging register to configure the adc to average up to 32 samples for each requested result, and to independently control the number of results requested for single-channel scans. table 8. unipolar/bipolar channel function unipolar- mode register bit bipolar-mode register bit channel pair function 0 0 unipolar single-ended 0 1 bipolar differential 1 0 unipolar differential 1 1 unipolar differential table 9. adc averaging register* bit name bit function 7 (msb) set to zero to select adc averaging register. 6 set to zero to select adc averaging register. 5 set to one to select adc averaging register. avgon 4 set to one to turn averaging on. set to zero to turn averaging off. navg1 3 configures the number of conversions for single-channel scans. navg0 2 configures the number of conversions for single-channel scans. nscan1 1 single-channel scan count. (scan mode 10 only.) nscan0 0 (lsb) single-channel scan count. (scan mode 10 only.) avgon navg1 navg0 function 0 x x performs one conversion for each requested result. 1 0 0 performs four conversions and returns the average for each requested result. 1 0 1 performs eight conversions and returns the average for each requested result. 1 1 0 performs 16 conversions and returns the average for each requested result. 1 1 1 performs 32 conversions and returns the average for each requested result. nscan1 nscan0 function (applies only if scan mode 10 is selected) 0 0 scans channel n and returns four results. 0 1 scans channel n and returns eight results. 1 0 scans channel n and returns 12 results. 1 1 scans channel n and returns 16 results. * see below for bit details.
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 29 table 9 details the four scan modes available in the adc conversion register. all four scan modes allow averaging as long as the avgon bit, bit 4 in the averaging register, is set to 1. select scan mode 10 to scan the same channel multiple times. clock mode 11 disables averaging. for example, if avgon = 1, navg[1:0] = 00, nscan[1:0] = 11, and scan[1:0] = 10, 16 results are written to the fifo, with each result being the average of four conversions of channel n. dac select register write a command byte 0001xxxx to the dac select register (as shown in table 10) to set up the dac inter- face and indicate that another word will follow. the last 4 bits of the dac select register are don?-care bits. the word that follows the dac select-register command byte controls the dac serial interface. see table 20 and the dac serial interface section. reset register write to the reset register (as shown in table 11) to clear the fifo or reset all registers (excluding the dac and gpio registers) to their default states. when the reset bit in the reset register is set to 0, the fifo is cleared. set the reset bit to one to return all the device registers to their default power-up state. all reg- isters power up in state 00000000, except for the setup register that powers up in clock mode 10 (cksel1 = 1 and refsel1 = 1). the dac and gpio registers are not reset by writing to the reset register. set the slow bit to one to add a 15ns delay in the dout signal path to provide a longer hold time. writing a one to the slow bit also clears the contents of the fifo. set the fbgon bit to one to force the bias block and bandgap reference to power up regardless of the state of the dac and activity of the adc block. setting the fbgon bit high also removes the programmed wake-up delay between conversions in clock modes 01 and 11. setting the fbgon bit high also clears the fifo. table 10. dac select register bit name bit function 7 (msb) set to zero to select dac select register. 6 set to zero to select dac select register. 5 set to zero to select dac select register. 4 set to one to select dac select register. x 3 don? care. x 2 don? care. x 1 don? care. x 0 don? care. table 11. reset register bit name bit function 7 (msb) set to zero to select adc reset register. 6 set to zero to select adc reset register. 5 set to zero to select adc reset register. 4 set to zero to select adc reset register. 3 set to one to select adc reset register. reset 2 set to zero to clear the fifo only. set to one to set the device in its power-on condition. slow 1 set to one to turn on slow mode. fbgon 0 (lsb) set to one to force internal bias block and bandgap reference to be always powered up. table 12. gpio command register bit name bit function 7 (msb) set to zero to select gpio register. 6 set to zero to select gpio register. 5 set to zero to select gpio register. 4 set to zero to select gpio register. 3 set to zero to select gpio register. 2 set to zero to select gpio register. gpiosel1 1 gpio configuration bit. gpiosel2 0 (lsb) gpio write bit. gpiosel1 gpiosel2 function 11 gpio configuration; written data is entered in the gpio configuration register. 10 gpio write; written data is entered in the gpio write register. 01 gpio read; the next 8/16 sclk cycles transfer the state of all gpio drivers into dout.
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 30 ______________________________________________________________________________________ table 13. max1220 gpio configuration data pin gpio command byte data byte din 0 0 0 0 0 0 1 1 gpioc1 gpioc0 gpioa1 gpioa0 x x x x dout 00000000 0 0 0 0 0 0 0 0 table 14. MAX1257/max1258 gpio configuration data pin gpio command byte data byte 1 data byte 2 din 00000011 gpioc3 gpioc2 gpioc1 gpioc0 gpiob3 gpiob2 gpiob1 gpiob0 gpioa3 gpioa2 gpioa1 gpioa0 xxxx dout 000000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 table 15. max1220 gpio write data pin gpio command byte data byte din 0 0 0 0 0 0 1 0 gpioc1 gpioc0 gpioa1 gpioa0 x x x x dout 00000000 0 0 0 0 0 0 0 0 table 16. MAX1257/max1258 gpio write data pin gpio command byte data byte 1 data byte 2 din 00000010 gpioc3 gpioc2 gpioc1 gpioc0 gpiob3 gpiob2 gpiob1 gpiob0 gpioa3 gpioa2 gpioa1 gpioa0 xxxx dout 000000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 gpio command write a command byte to the gpio command register to configure, write, or read the gpios, as detailed in table 12. write the command byte 00000011 to configure the gpios. the eight sclk cycles following the command byte load data from din to the gpio configuration reg- ister in the max1220. the 16 sclk cycles following the command byte load data from din to the gpio configu- ration register in the MAX1257/max1258. see tables 13 and 14. the register bits are updated after the last cs rising edge. all gpios default to inputs upon power- up. the data in the register controls the function of each gpio, as shown in tables 13?9.
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 31 gpio write write the command byte 00000010 to indicate a gpio write operation. the eight sclk cycles following the command byte load data from din into the gpio write register in the max1220. the 16 sclk cycles following the command byte load data from din into the gpio write register in the MAX1257/max1258. see tables 15 and 16. the register bits are updated after the last cs rising edge. gpio read write the command byte 00000001 to indicate a gpio read operation. the eight sclk cycles following the command byte transfer the state of the gpios to dout in the max1220. the 16 sclk cycles following the com- mand byte transfer the state of the gpios to dout in the MAX1257/max1258. see tables 18 and 19. dac serial interface write a command byte 0001xxxx to the dac select register to indicate the word to follow is written to the dac serial interface, as detailed in tables 1, 10, 20, and 21. write the next 16 bits to the dac interface register, as shown in tables 20 and 21. following the high-to-low transition of cs , the data is shifted synchronously and latched into the input register on each falling edge of sclk. each word is 16 bits. the first 4 bits are the con- trol bits followed by 12 data bits (msb first) and 2 don?- care sub-bits. see figures 10?2 for dac timing specifications. table 18. max1220 gpio read data pin gpio command byte data byte din 00000001 x x x x x x x x dout 00000000 0 0 0 0 gpioc1 gpioc0 gpioa1 gpioa0 table 19. MAX1257/max1258 gpio read data pin gpio command byte data byte 1 data byte 2 din 00000001xxxxxxxxxxxxxxxx dout 000000000 0 0 0 gpioc3 gpioc2 gpioc1 gpioc0 gpiob3 gpiob2 gpiob1 gpiob0 gpioa3 gpioa2 gpioa1 gpioa0 table 17. gpio-mode control configuration bit write bit output state gpio function 1 1 1 output 1 0 0 output 0 1 three-state input 0 0 0 pulldown (open drain)
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 32 ______________________________________________________________________________________ table 20. dac serial-interface configuration 16-bit serial word msb lsb control bits data bits c3 c2 c1 c0 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 description function 0 0 0 0 x x x x x x x x x x x x nop no operation. 0 0 0 1 0 x 0 x x x x x x x x x reset reset all internal registers to 000h and leave output buffers in their present state. 0 0 0 1 1 x 1 x x x x x x x x x pull-high preset all internal registers to fffh and leave output buffers in their present state. 0 0 1 0 dac0 d11?0 to input register 0, dac output unchanged. 0 0 1 1 dac1 d11?0 to input register 1, dac output unchanged. 0 1 0 0 dac2 d11?0 to input register 2, dac output unchanged. 0 1 0 1 dac3 d11?0 to input register 3, dac output unchanged. 0 1 1 0 dac4 d11?0 to input register 4, dac output unchanged. 0 1 1 1 dac5 d11?0 to input register 5, dac output unchanged. 1 0 0 0 dac6 d11?0 to input register 6, dac output unchanged. 1 0 0 1 dac7 d11?0 to input register 7, dac output unchanged. 1 0 1 0 dac0?ac3 d11?0 to input registers 0? and dac registers 0?. dac outputs updated (write-through). 1 0 1 1 dac4?ac7 d11?0 to input registers 4? and dac registers 4?. dac outputs updated (write-through). 1 1 0 0 dac0?ac7 d11?0 to input registers 0? and dac registers 0?. dac outputs updated (write-through). 1 1 0 1 dac0?ac7 d11?0 to input registers 0?. dac outputs unchanged. 1110 dac7 dac6 dac5 dac4 dac3 dac2 dac1 dac0 x x x x dac0?ac7 input registers to dac registers indicated by ones, dac outputs updated, equivalent to software ldac . (no effect on dacs indicated by zeros.)
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 33 if cs goes high prior to completing 16 sclk cycles, the command is discarded. to initiate a new transfer, drive cs low again. for example, writing the dac serial interface word 1111 0000 and 1111 0100 disconnects dac outputs 4 through 7 and forces them to a high-impedance state. dac outputs 0 through 3 remain in their previous state. output-data format figures 6? illustrate the conversion timing for the max1220/MAX1257/max1258. all 12-bit conversion results are output in 2-byte format, msb first, with four leading zeros. data appears on dout on the falling edges of sclk. data is binary for unipolar mode and two? complement for bipolar mode and temperature results. see figures 3, 4, and 5 for input/output and temperature-transfer functions. adc transfer functions figure 3 shows the unipolar transfer function for single- ended or differential inputs. figure 4 shows the bipolar transfer function for differential inputs. code transitions occur halfway between successive-integer lsb values. output coding is binary, with 1 lsb = v ref1 /4096 (MAX1257) and 1 lsb = v ref1 /4096 (max1220/ max1258) for unipolar and bipolar operation, and 1 lsb = +0.125? for temperature measurements. bipolar true-differential results and temperature-sensor table 21. dac power-up and power-down commands control bits data bits c3 c2 c1 c0 dac7 dac6 dac5 dac4 dac3 dac2 dac1 dac0 d3 d2 d1 d0 description function 1 1 1 1 0 0 1 x power-up power up individual dac buffers indicated by data in dac0 through dac7. a one indicates the dac output is connected and active. a zero does not affect the dac? present state. 1 1 1 1 0 1 0 x power-down 1 power down individual dac buffers indicated by data in dac0 through dac7. a one indicates the dac output is disconnected and high impedance. a zero does not affect the dac? present state. 1 1 1 1 1 0 0 x power-down 2 power down individual dac buffers indicated by data in dac0 through dac7. a one indicates the dac output is disconnected and pulled to agnd with a 1k ? resistor. a zero does not affect the dac? present state. 1 1 1 1 0 0 0 x power-down 3 power down individual dac buffers indicated by data in dac0 through dac7. a one indicates the dac output is disconnected and pulled to agnd with a 100k ? resistor. a zero does not affect the dac? present state. 1 1 1 1 1 1 1 x power-down 4 power down individual dac buffers indicated by data in dac0 through dac7. a one indicates the dac output is disconnected and pulled to ref1 with a 100k ? resistor. a zero does not affect the dac? present state.
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 34 ______________________________________________________________________________________ results are available in two? complement format, while all others are in binary. see tables 6, 7, and 8 for details on which setting (unipolar or bipolar) takes precedence. in unipolar mode, ain+ can exceed ain- by up to v ref1 . in bipolar mode, either input can exceed the other by up to v ref1 /2. partial reads and partial writes if the 1st byte of an entry in the fifo is partially read ( cs is pulled high after fewer than eight sclk cycles), the remaining bits are lost for that byte. the next byte of data that is read out contains the next 8 bits. if the first byte of an entry in the fifo is read out fully, but the second byte is read out partially, the rest of that byte is lost. the remaining data in the fifo is unaffected and can be read out normally after taking cs low again, as long as the 4 leading bits (normally zeros) are ignored. if cs is pulled low before eoc goes low, a conversion may not be completed and the fifo data may not be correct. incorrect writes (pulling cs high before com- pleting eight sclk cycles) are ignored and the register remains unchanged. applications information internally timed acquisitions and conversions using cnvst adc conversions in clock mode 00 in clock mode 00, the wake-up, acquisition, conversion, and shutdown sequence is initiated through cnvst and performed automatically using the internal oscilla- tor. results are added to the internal fifo to be read out later. see figure 6 for clock mode 00 timing after a command byte is issued. see table 5 for details on programming the clock mode in the setup register. initiate a scan by setting cnvst low for at least 40ns before pulling it high again. the max1220/MAX1257/ max1258 then wake up, scan all requested channels, store the results in the fifo, and shut down. after the full-scale transition 111....111 0 input voltage (lsb) fs = v ref 111....110 111....101 offset binary output code (lsb) 000....011 000....010 000....001 000....000 2 13 fs 1 lsb = v ref /4096 fs - 3/2 lsb figure 3. unipolar transfer function?ull scale (fs) = v ref output code 011....111 temperature ( c) 011....110 000....001 111....101 100....001 100....000 111....111 111....110 000....000 0 000....010 -256 +255.5 figure 5. temperature transfer function 011....111 -fs input voltage (lsb) fs = v ref /2 + v com v ref = v ref+ - v ref- -fs = -v ref /2 011....110 011....101 000....001 000....000 111....111 offset binary output code (lsb) 100....011 100....010 100....001 100....000 0 (com) -1 +1 +fs - 1 lsb 1 lsb = v ref /4096 zs = com v ref v ref v ref (com) v ref figure 4. bipolar transfer function?ull scale ( fs) = v ref /2
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 35 scan is complete, eoc is pulled low and the results are available in the fifo. wait until eoc goes low before pulling cs low to communicate with the serial interface. eoc stays low until cs or cnvst is pulled low again. a temperature-conversion result, if requested, precedes all other fifo results. do not issue a second cnvst signal before eoc goes low; otherwise, the fifo can be corrupted. wait until all conversions are complete before reading the fifo. spi communications to the dac and gpio registers are per- mitted during conversion. however, coupled noise may result in degraded adc signal-to-noise ratio (snr). externally timed acquisitions and internally timed conversions with cnvst adc conversions in clock mode 01 in clock mode 01, conversions are requested one at a time using cnvst and performed automatically using the internal oscillator. see figure 7 for clock mode 01 timing after a command byte is issued. setting cnvst low begins an acquisition, wakes up the adc, and places it in track mode. hold cnvst low for at least 1.4? to complete the acquisition. if reference mode 00 or 10 is selected, an additional 45? is required for the internal reference to power up. if a tem- perature measurement is being requested, reference power-up and temperature measurement is internally timed. in this case, hold cnvst low for at least 40ns. (up to 514 internally clocked acquisitions and conversions) cs dout msb1 t rds lsb1 msb2 sclk cnvst eoc figure 6. clock mode 00?fter writing a command byte, set cnvst low for at least 40ns to begin a conversion. (conversion 2) t csw t dov (acquisition 2) (acquisition 1) (conversion 1) cs dout msb1 lsb1 msb2 sclk cnvst eoc figure 7. clock mode 01?fter writing a command byte, request multiple conversions by setting cnvst low for each conversion.
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 36 ______________________________________________________________________________________ din conversion byte msb1 msb2 lsb1 t dov (up to 514 internally clocked acquisitions and conversions) eoc dout sclk cs figure 8. clock mode 10?he command byte to the conversion register begins the acquisition ( cnvst is not required). set cnvst high to begin a conversion. sampling is completed approximately 500ns after cnvst goes high. after the conversion is complete, the adc shuts down and pulls eoc low. eoc stays low until cs or cnvst is pulled low again. wait until eoc goes low before pulling cs or cnvst low. the number of cnvst signals must equal the number of conversions request- ed by the scan and averaging registers to correctly update the fifo. wait until all conversions are com- plete before reading the fifo. spi communications to the dac and gpio registers are permitted during conversion. however, coupled noise may result in degraded adc snr. if averaging is turned on, multiple cnvst pulses need to be performed before a result is written to the fifo. once the proper number of conversions has been performed to generate an averaged fifo result (as specified to the averaging register), the scan logic automatically switch- es the analog input multiplexer to the next requested channel. if a temperature measurement is programmed, it is performed after the first rising edge of cnvst follow- ing the command byte written to the conversion register. the temperature-conversion result is available on dout once eoc has been pulled low. internally timed acquisitions and conversions using the serial interface adc conversions in clock mode 10 in clock mode 10, the wake-up, acquisition, conversion, and shutdown sequence is initiated by writing a com- mand byte to the conversion register, and is performed automatically using the internal oscillator. this is the default clock mode upon power-up. see figure 8 for clock mode 10 timing. initiate a scan by writing a command byte to the conver- sion register. the max1220/MAX1257/max1258 then power up, scan all requested channels, store the results in the fifo, and shut down. after the scan is complete, eoc is pulled low and the results are available in the fifo. if a temperature measurement is requested, the temperature result precedes all other fifo results. eoc stays low until cs is pulled low again. wait until all con- versions are complete before reading the fifo. spi communications to the dac and gpio registers are per- mitted during conversion. however, coupled noise may result in degraded adc snr. externally clocked acquisitions and conversions using the serial interface adc conversions in clock mode 11 in clock mode 11, acquisitions and conversions are ini- tiated by writing a command byte to the conversion register and are performed one at a time using sclk as the conversion clock. scanning, averaging and the fifo are disabled, and the conversion result is avail- able at dout during the conversion. output data is updated on the rising edge of sclk in clock mode 11. see figures 9a and 9b for clock mode 11 timing. initiate a conversion by writing a command byte to the conversion register followed by 16 sclk cycles. if cs is pulsed high between the eighth and ninth cycles, the pulse width must be less than 100?. to continuously convert at 16 cycles per conversion, alternate 1 byte of zeros (nop byte) between each conversion byte. if 2 nop bytes follow a conversion byte, the analog cells power down at the end of the second nop. set the fbgon bit to one in the reset register to keep the inter- nal bias block powered.
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 37 if reference mode 00 is requested, or if an external ref- erence is selected but a temperature measurement is being requested, wait 45? with cs high after writing the conversion byte to extend the acquisition and allow the internal reference to power up. to perform a tem- perature measurement, write 24 bytes (192 cycles) of zeros after the conversion byte using 8-bit nop com- mands each framed by cs (to match production test method; other length nop sequences are not produc- tion tested). the temperature result appears on dout during the last 2 bytes of the 192 cycles. for tempera- ture conversion in clock mode 11 with the temp bit set in the conversion register, no scanning of ain0 to ain15 is performed. therefore, the chsel[3:0] bits are don? cares. these bits can be set to 0000b. when the conversion is complete, only the temperature data is available. conversion-time calculations the conversion time for each scan is based on a num- ber of different factors: conversion time per sample, samples per result, results per scan, if a temperature measurement is requested, and if the external refer- ence is in use. use the following formula to calculate the total conversion time for an internally timed conver- sion in clock mode 00 and 10 (see the electrical characteristics , as applicable): total conversion time = t conv x n avg x n scan + t ts + t int-ref,su where: t conv = t dov , where t dov is dependent on the clock mode and the reference mode selected n avg = samples per result (amount of averaging) n scan = number of times each channel is scanned; set to one unless [scan1, scan0] = 10 t ts = time required for temperature measurement (53.1?); set to zero if temperature measurement is not requested t int-ref,su = t wu (external-reference wake-up); if a conversion using the external reference is requested in clock mode 01, the total conversion time depends on how long cnvst is held low or high. conversion time in externally clocked mode (cksel1, cksel0 = 11) depends on the sclk period and how long cs is held high between each set of eight sclk cycles. in clock mode 01, the total conversion time does not include the time required to turn on the internal reference. din conversion byte #1 conversion #1 conversion #2 acquisition #1 msb1 lsb1 msb2 acquisition #2 nop conversion byte #2 conversion nop eoc dout sclk cs figure 9a. clock mode 11?xternally timed acquisition, sampling and conversion without cnvst for maximum adc throughput din acquisition conversion msb1 lsb1 eoc dout sclk cs conversion byte nop nop figure 9b. clock mode 11?xternally timed acquisition, sampling and conversion without cnvst to reduce analog power dissipation
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 38 ______________________________________________________________________________________ t csh sclk note: for the max1220 gpio writes, n = 16; for all dac writes and gpio writes on the MAX1257/max1258, n = 24. din dout cs 1234 32 16 8 dn-1 dn-2 dn-3 dn-4 dn-5 5 d15 d7 d14 d6 d13 d5 d12 d4 d0 d1 d0 t dod t dot t css t cspwh d1 t doe t ds t dh t ch t cl figure 10. dac/gpio serial-interface timing (clock modes 00, 01, and 10) dac/gpio timing figures 10?3 detail the timing diagrams for writing to the dac and gpios. figure 10 shows the timing speci- fications for clock modes 00, 01, and 10. figure 11 shows the timing specifications for clock mode 11. figure 12 details the timing specifications for the dac input select register and 2 bytes to follow. output data is updated on the rising edge of sclk in clock mode 11. figure 13 shows the gpio timing. figure 14 shows the timing details of a hardware ldac command dac- register update. for a software-command dac-register update, t s is valid from the rising edge of cs , which fol- lows the last data bit in the software command word.
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 39 sclk din dout 1234 t cspwh t css t doe t ds t dh t dot t cl t ch t csh t dod 32 16 8 dn-1 dn-2 dn-3 dn-4 dn-5 5 d15 d7 d14 d6 d13 d5 d12 d4 d0 d1 d0 d1 cs note: for the max1220 gpio writes, n = 16; for all dac writes and gpio writes on the MAX1257/max1258, n = 24. figure 11. dac/gpio serial-interface timing (clock mode 11) sclk din dout cs 1289 24 bit 7 (msb) bit 6 bit 0 (lsb) the command byte initializes the dac select register the next 16 bits select the dac and the data written to it bit 15 bit 14 10 bit 0 bit 1 figure 12. dac-select register byte and dac serial-interface word
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 40 ______________________________________________________________________________________ gpio input/output cs t gsu t god figure 13. gpio timing ldac t ldacpwl t s out_ 1 lsb figure 14. ldac functionality ldac functionality drive ldac low to transfer the content of the input reg- isters to the dac registers. drive ldac permanently low to make the dac register transparent. the dac output typically settles from zero to full scale within ? lsb after 2?. see figure 14. layout, grounding, and bypassing for best performance, use pc boards. ensure that digi- tal and analog signal lines are separated from each other. do not run analog and digital signals parallel to one another (especially clock signals) or do not run digi- tal lines underneath the max1220/MAX1257/ max1258 package. high-frequency noise in the avdd power supply may affect performance. bypass the avdd supply with a 0.1? capacitor to agnd, close to the avdd pin. bypass the dvdd supply with a 0.1? capacitor to dgnd, close to the dvdd pin. minimize capacitor lead lengths for best supply-noise rejection. if the power supply is very noisy, connect a 10 ? resistor in series with the supply to improve power-supply filtering. the max1220/MAX1257/max1258 thin qfn packages contain an exposed pad on the underside of the device. connect this exposed pad to agnd. refer to the max1258evkit for an example of proper layout. definitions integral nonlinearity integral nonlinearity (inl) is the deviation of the values on an actual transfer function from a straight line. this straight line can be either a best-straight-line fit or a line drawn between the end points of the transfer function, once offset and gain errors have been nullified. inl for the max1220/MAX1257/max1258 is measured using the end-point method. differential nonlinearity differential nonlinearity (dnl) is the difference between an actual step width and the ideal value of 1 lsb. a dnl error specification of less than 1 lsb guarantees no missing codes and a monotonic transfer function.
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 41 unipolar adc offset error for an ideal converter, the first transition occurs at 0.5 lsb, above zero. offset error is the amount of deviation between the measured first transition point and the ideal first transition point. bipolar adc offset error while in bipolar mode, the adc? ideal midscale transi- tion occurs at agnd -0.5 lsb. bipolar offset error is the measured deviation from this ideal value. adc gain error gain error is defined as the amount of deviation between the ideal transfer function and the measured transfer function, with the offset error removed and with a full-scale analog input voltage applied to the adc, resulting in all ones at dout. dac offset error dac offset error is determined by loading a code of all zeros into the dac and measuring the analog output voltage. dac gain error dac gain error is defined as the amount of deviation between the ideal transfer function and the measured transfer function, with the offset error removed, when loading a code of all ones into the dac. aperture jitter aperture jitter (t aj ) is the sample-to-sample variation in the time between the samples. aperture delay aperture delay (t ad ) is the time between the rising edge of the sampling clock and the instant when an actual sample is taken. signal-to-noise ratio for a waveform perfectly reconstructed from digital sam- ples, signal-to-noise ratio (snr) is the ratio of full-scale analog input (rms value) to the rms quantization error (residual error). the ideal, theoretical minimum analog- to-digital noise is caused by quantization error only and results directly from the adc? resolution (n bits): snr = (6.02 x n + 1.76)db in reality, there are other noise sources besides quanti- zation noise, including thermal noise, reference noise, clock jitter, etc. therefore, snr is calculated by taking the ratio of the rms signal to the rms noise. rms noise includes all spectral components to the nyquist fre- quency excluding the fundamental, the first five har- monics, and the dc offset. signal-to-noise plus distortion signal-to-noise plus distortion (sinad) is the ratio of the fundamental input frequency? rms amplitude to the rms equivalent of all other adc output signals: sinad(db) = 20 x log (signal rms / noise rms ) effective number of bits effective number of bits (enob) indicates the global accuracy of an adc at a specific input frequency and sampling rate. an ideal adc? error consists of quanti- zation noise only. with an input range equal to the full- scale range of the adc, calculate the enob as follows: enob = (sinad - 1.76) / 6.02 total harmonic distortion total harmonic distortion (thd) is the ratio of the rms sum of the first five harmonics of the input signal to the fundamental itself. this is expressed as: where v 1 is the fundamental amplitude, and v 2 through v 6 are the amplitudes of the first five harmonics. spurious-free dynamic range spurious-free dynamic range (sfdr) is the ratio of rms amplitude of the fundamental (maximum signal compo- nent) to the rms value of the next largest distortion component. adc channel-to-channel crosstalk bias the on channel to midscale. apply a full-scale sine wave test tone to all off channels. perform an fft on the on channel. adc channel-to-channel crosstalk is expressed in db as the amplitude of the fft spur at the frequency associated with the off channel test tone. intermodulation distortion (imd) imd is the total power of the intermodulation products relative to the total input power when two tones, f1 and f2, are present at the inputs. the intermodulation prod- ucts are (f1 f2), (2 x f1), (2 x f2), (2 x f1 f2), (2 x f2 f1). the individual input tone levels are at -7dbfs. small-signal bandwidth a small -20dbfs analog input signal is applied to an adc so the signal? slew rate does not limit the adc? performance. the input frequency is then swept up to the point where the amplitude of the digitized conver- sion result has decreased by -3db. note that the t/h performance is usually the limiting factor for the small- signal input bandwidth. thd x vvvvvv = ++++ () ? ? ? ? ? ? 20 2 2 3 2 4 2 5 2 6 2 1 log /
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 42 ______________________________________________________________________________________ ain0 ref1 gpioc0 n.c. ldac out7 res_sel cs gpioc1 eoc dvdd dgnd sclk din out0 gpioa0 + + 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 agnd n.c. out4 out6 avdd out3 out2 out1 ref2/ain6 ain5 n.c. n.c. ain4 ain3 ain2 ain1 cnvst/ain7 tqfn max1220 top view dout out5 gpioa1 ain2 ref1 ain0 gpioc3 gpioc0 res_sel cs out7 ldac gpioc2 gpioc1 ain1 gpioa1 eoc gpioa2 gpioa3 dvdd dgnd dout out0 sclk din gpioa0 cnvst/ain15 1 2 3 4 5 6 7 8 9 10 11 12 36 35 34 33 32 31 30 29 28 27 26 25 gpiob1 avdd agnd gpiob3 out6 out5 out4 gpiob0 out3 out2 out1 ain13 ain12 ain11 ain10 ain9 ain8 ain7 ain6 ain5 ain3 ain4 ref2/ain14 tqfn MAX1257 max1258 gpiob2 48 47 46 45 44 43 42 41 40 39 38 37 13 14 15 16 17 18 19 20 21 22 23 24 pin configurations full-power bandwidth a large -0.5dbfs analog input signal is applied to an adc, and the input frequency is swept up to the point where the amplitude of the digitized conversion result has decreased by -3db. this point is defined as full- power input bandwidth frequency. dac digital feedthrough dac digital feedthrough is the amount of noise that appears on the dac output when the dac digital con- trol lines are toggled. adc power-supply rejection adc power-supply rejection (psr) is defined as the shift in offset error when the power supply is moved from the minimum operating voltage to the maximum operating voltage. dac power-supply rejection dac psr is the amount of change in the converter? value at full-scale as the power-supply voltage changes from its nominal value. psr assumes the converter? lin- earity is unaffected by changes in the power-supply voltage. chip information process: bicmos package information for the latest package outline information and land patterns (footprints), go to www.maxim-ic.com/packages . note that a ?? ?? or ??in the package code indicates rohs status only. package drawings may show a different suffix character, but the drawing pertains to the package regardless of rohs status. package type package code outline no. land pattern no. 36 tqfn-ep t3666+3 21-0141 90-0050 48 tqfn-ep t4877+6 21-0144 90-0132
max1220/MAX1257/max1258 12-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a maxim product. no circu it patent licenses are implied. maxim reserves the right to change the circuitry and specifications without notice at any time. the parametric values (min and max limits) shown in the electrical characteristics table are guaranteed. other parametric values quoted in this data sheet are provided for guidanc e. 43 ____________________maxim integrated products, 120 san gabriel drive, sunnyvale, ca 94086 408-737-7600 2012 maxim integrated products maxim is a registered trademark of maxim integrated products, inc. revision history revision number revision date description pages changed 5 12/07 changed timing characteristic specification. 7 changed the ordering informatio n table to show lead(pb)-free packages. 1 added note 18 to the electrical characteristics table (t dov spec). 7, 8 added the additional no. of bytes column to table 1. 20 corrected figure 8, replaced figure 9 with figures 9a and 9b, and modified figures 10 and 11. 36C39 6 1/10 updated the adc conversions in clock mode 11 section. 36 7 2/12 clarified note 9. 8


▲Up To Search▲   

 
Price & Availability of MAX1257

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X